On Finding Duplication and Near-Duplication in Large Software Systems

نویسنده

  • Brenda S. Baker
چکیده

This paper describes how a program called dup can be used to locate instances of duplication or nearduplication in a software system. D u p reports both textually identical sections of code and sections that are the same textually except for systematic substitution of one set of variable names and constants for another. Further processing locates longer sections of code that are the same except for other small modifications. Experimental results from running dup on millions of lines from two large software systems show dup to be both effective at locating duplication and fast. Applications could include identifying sections of code that should be replaced by procedures, elimination of duplication during reengineering of the system, redocumentation to include references to copies, and de bugging.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Monocephalus omphalopagus (tetrabrachius tetrapus) in a lamb

Caudal duplication is an abnormality which usually affects the digestive, urogenital and even respiratory systems. It forms a graded series from slight duplication to near separation of two fetuses caudocranially. In some conjoined twins, duplication process may cranially proceed up to the head region. This kind of developed conjoined monocephalus twin has been reported in many domestic species...

متن کامل

Green Energy-aware task scheduling using the DVFS technique in Cloud Computing

Nowdays, energy consumption as a critical issue in distributed computing systems with high performance has become so green computing tries to energy consumption, carbon footprint and CO2 emissions in high performance computing systems (HPCs) such as clusters, Grid and Cloud that a large number of parallel. Reducing energy consumption for high end computing can bring various benefits such as red...

متن کامل

Shoulder duplication in constriction band syndrome: a case report

 Abstract A 2.5 year old girl is presented with both hands constriction bands leading to distal amputations and the rare deformity of shoulder duplication in the right side accompanying constriction skin marking over the affected shoulder. The cephalomedial scapula articulated with the clavicle and the caudolateral scapula articulated with humeral head. The most important physical finding which...

متن کامل

COHEN-MACAULAY HOMOLOGICAL DIMENSIONS WITH RESPECT TO AMALGAMATED DUPLICATION

In this paper we use "ring changed'' Gorenstein homologicaldimensions to define Cohen-Macaulay injective, projective and flatdimensions. For doing this we use the amalgamated duplication of thebase ring with semi-dualizing ideals. Among other results, we prove that finiteness of these new dimensions characterizes Cohen-Macaulay rings with dualizing ideals.

متن کامل

A case of monocephalus rachipagus tribrachius tetrapus in a puppy

Caudal duplication (dipygus) is an uncommon pathologic of conjoined twinning. The conjoined malformation is classified according to the nature and site of the union. We report the presence of this malformation in a female crossbreed puppy. The puppy was delivered by caesarean section following a prolonged period of dystocia. External findings showed a single head (monocephalus) and a normal cra...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995